package com.jiaming.restaurant.api.trade.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiaming.restaurant.api.trade.bean.entity.Trade;
import com.jiaming.restaurant.api.trade.bean.vo.TradePageVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author dragon
 * @create 2021-02-24 16:25
 */
public interface TradeMapper extends BaseMapper<Trade> {
    //创建分页接口
    IPage<Trade> pageByGoodsName(Page<?> page, @Param("vo")TradePageVo tradePageVo);
}
